home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7387 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: cii3116-01.its.rpi.edu!gentrj
  2. From: gentrj@cii3116-01.its.rpi.edu (Ghost In The Machine)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: String Encryption
  5. Date: 25 Feb 1996 19:08:05 GMT
  6. Organization: its
  7. Message-ID: <4gqc2l$4o7@usenet.rpi.edu>
  8. References: <1996Feb21.101532.15110@es.dupont.com> <1996Feb21.174407.20730@newshost.micro.ti.com> <4ghq1u$sed@hpbblb.bbn.hp.com>
  9. NNTP-Posting-Host: cii3116-01.its.rpi.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Matthias Dittrich (matti) wrote:
  13. : >Malcolm Smart (MALCOLM.SMART@CONOCO.DUPONT.COM) wrote:
  14. : >> Has anybody out there got any small routines that I can apply to strings 
  15. : >> which will effectively encrypt them (and decrypt!).  It's not a matter of 
  16. : >> state security so it doesn't have to be that secure, just make it 
  17. : >> unreadable.  
  18.  
  19. : You also can use the crypt() function (see man 3 crypt).
  20.  
  21. I could be wrong here (so please correct me if I am), but isn't
  22. crypt() a one way encryption?  I just checked man 3 crypt, and
  23. found this:
  24.  
  25. "The crypt and encrypt subroutines provide encryption of data.
  26. The crypt subroutine performs a one-way encryption of a fixed"
  27.                 ^^^^^^^^^^^^^^^^^^
  28.  
  29.  
  30.  
  31. --
  32. Jeff Gentry            jester@rpi.edu
  33. PGP Public Key Available Upon Request
  34. http://www.rpi.edu/~gentrj
  35.